<div style="padding: 50px 100px 10px;" class="login col-md-6" ms-controller="User" >
    <form class="bs-example bs-example-form" role="form">
        <div class="input-group input-group-sm">
            <span class="input-group-addon">姓名</span>
            <input type="text" ms-duplex="@editUID" style="display: none">
            <input type="text" class="form-control" placeholder="用户名"
                   ms-duplex="@editname" id="edit_name">
        </div>
        <!--<span id="error_usertxt">nihfods</span><br>-->
        <br>
        <div class="input-group input-group-sm">
            <span class="input-group-addon">密码</span>
            <input type="password" class="form-control" placeholder="123456"
                   id="edit_pass" ms-duplex="editpass">
        </div>
        <!--<span id="error_passtxt">nihfods</span><br>-->
        <br>

        <div class="input-group input-group-sm">
            <span class="input-group-addon">身份证号</span>
            <input type="text" class="form-control" placeholder="身份证号" id="edit_ID"
                   ms-duplex="@editId">
        </div>
        <br>
        <div class="input-group input-group-sm">
            <span class="input-group-addon">层次</span>
            <select class="form-control" ms-duplex="@editlayer"id="edit_layer">
                <option>本科</option>
                <option>专科</option>
            </select>
        </div>
        <br>
        <div class="input-group input-group-sm">
            <span class="input-group-addon">专业</span>
            <select class="form-control" ms-duplex="@editmajor" id="edit_major">
                <option>软件工程</option>
                <option>计算机科学与技术</option>
            </select>
        </div>
        <br>
        <div class="input-group input-group-sm">
            <span class="input-group-addon">角色</span>
            <select class="form-control" ms-duplex="@editrole" id="edit_role">
                <option>教师</option>
                <option>学生</option>
                <option>管理员</option>
            </select>
        </div>
        <br>
    </form>
    <button class="btn btn-primary btn-block" type="submit" id="login" onclick="update()">更新资料</button>
</div>
